package uz.rt.linac;

import uz.rt.units.Angle;

public class Collimator
{

    private Jaw x1Jaw = null;
    private Jaw x2Jaw = null;
    private Jaw y1Jaw = null;
    private Jaw y2Jaw = null;
    private Mlc xMlc = null;
    private Mlc yMlc = null;
    private Angle angle = null;

    public Collimator()
    {

    }

    public Collimator(Jaw x1, Jaw x2, Jaw y1, Jaw y2)
    {
        setX1Jaw(x1);
        setX2Jaw(x2);
        setY1Jaw(y1);
        setY2Jaw(y2);
    }

    public Collimator(Jaw x1, Jaw x2, Jaw y1, Jaw y2, Mlc xmlc, Mlc ymlc)
    {
        setX1Jaw(x1);
        setX2Jaw(x2);
        setY1Jaw(y1);
        setY2Jaw(y2);
        setxMlc(xmlc);
        setyMlc(ymlc);
    }

    public Jaw getX1Jaw()
    {
        return x1Jaw;
    }

    public void setX1Jaw(Jaw x1Jaw)
    {
        this.x1Jaw = x1Jaw;
    }

    public Jaw getX2Jaw()
    {
        return x2Jaw;
    }

    public void setX2Jaw(Jaw x2Jaw)
    {
        this.x2Jaw = x2Jaw;
    }

    public Jaw getY1Jaw()
    {
        return y1Jaw;
    }

    public void setY1Jaw(Jaw y1Jaw)
    {
        this.y1Jaw = y1Jaw;
    }

    public Jaw getY2Jaw()
    {
        return y2Jaw;
    }

    public void setY2Jaw(Jaw y2Jaw)
    {
        this.y2Jaw = y2Jaw;
    }

    public Mlc getxMlc()
    {
        return xMlc;
    }

    public void setxMlc(Mlc xMlc)
    {
        this.xMlc = xMlc;
    }

    public Mlc getyMlc()
    {
        return yMlc;
    }

    public void setyMlc(Mlc yMlc)
    {
        this.yMlc = yMlc;
    }

    public Angle getAngle()
    {
        return angle;
    }

    public void setAngle(Angle angle)
    {
        this.angle = angle;
    }
}
